WooCommerce\Facebook\ProductAttributeMapper C

Total Complexity 119
Dependencies 3
Dependents 5
Total lines 839
Lines of code 443
Logical lines of code 246
Comment lines 243
Methods 18
Properties 4

Methods 18

Method Rating Maintainability Complexity Lines of code
get_mapped_attributes()
D
25
48 145
save_mapped_attributes()
B
38 21 71
prepare_product_attributes_for_facebook()
A
52 11 25
check_attribute_mapping()
S
57 5 17
load_custom_mappings()
S
60 5 13
get_unmapped_attributes()
S
56 4 18
sanitize_attribute_name()
S
58 4 15
get_mapped_standard_attributes()
S
56 3 20
normalize_age_group_value()
S
50 2 30
normalize_condition_value()
S
54 2 22
normalize_gender_value()
S
54 2 21
set_custom_attribute_mappings()
S
64 3 10
get_and_save_mapped_attributes()
S
63 2 10
add_custom_attribute_mapping()
S
65 2 9
remove_custom_attribute_mapping()
S
66 2 8
get_custom_attribute_mappings()
S
80 1 3
get_all_facebook_fields()
S
79 1 3
init()
S
80 1 3